package com.github.xiaoymin.map.response.baidu;

import com.google.gson.annotations.SerializedName;

public class BaiduIpLocationResponse {

    /**
     * 详细地址 包含省市区
     */
    @SerializedName("address_detail")
    private BaiduAddressDetail baiduContent;

    /**
     * 地址
     */
    private String address;

    /**
     * 经纬度对象
     */
    @SerializedName("point")
    private BaiduPoint baiduPoint;

    public BaiduAddressDetail getBaiduContent() {
        return baiduContent;
    }

    public void setBaiduContent(BaiduAddressDetail baiduContent) {
        this.baiduContent = baiduContent;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BaiduPoint getBaiduPoint() {
        return baiduPoint;
    }

    public void setBaiduPoint(BaiduPoint baiduPoint) {
        this.baiduPoint = baiduPoint;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("BaiduIpLocationResponse{");
        sb.append("baiduContent=").append(baiduContent);
        sb.append(", address='").append(address).append('\'');
        sb.append(", baiduPoint=").append(baiduPoint);
        sb.append('}');
        return sb.toString();
    }
}
